package com.qing.service;

import com.qing.pojo.Leave;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qinghua
 * @since 2022-06-06
 */
public interface LeaveService extends IService<Leave> {

    List<Map<String, Object>> queryAllAndName();

    List<Map<String, Object>> queryAllAndNameByEmployeeId(Integer employeeId);

    List<Leave> queryToday();

}
